lisp/window.el (window--state-get-1): Workaround for bug#14527.
authorMartin Rudalics <rudalics@gmx.at>
Tue, 25 Jun 2013 15:44:42 +0000 (17:44 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 25 Jun 2013 15:44:42 +0000 (17:44 +0200)
http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html

lisp/ChangeLog
lisp/window.el

index 6d1f03e2f7322f8d58d4412136e23cf8a84c7de8..848e174145c23d1a44ba14d664ce7b792bf9f386 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window--state-get-1): Workaround for bug#14527.
+       http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
+
 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
        * net/eww.el (eww-back-url): Implement the history by stashing all
index 5b001988ddfb0e1cfacd844688214732c3297de8..5ba32bac9535caef298600b5e89fdb8abfd5226b 100644 (file)
@@ -4258,7 +4258,8 @@ specific buffers."
             (total-width . ,(window-total-size window t))
             (normal-height . ,(window-normal-size window))
             (normal-width . ,(window-normal-size window t))
-            (combination-limit . ,(window-combination-limit window))
+            ,@(unless (window-live-p window)
+                `(combination-limit . ,(window-combination-limit window)))
             ,@(let ((parameters (window-parameters window))
                    list)
                ;; Make copies of those window parameters whose